package com.iot.core.data.entity;

import com.iot.core.data.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


@Data
@EqualsAndHashCode(callSuper=false)
@Schema(name = "开发类表",description = "")
@Table(value ="HTCls")
public class HtCls extends BaseEntity {


    @Schema(name = "代码名称",description = "")
    @Size(min =0,max = 20,message = "长度范围0-20")
    private  String  prjName ="";

    @Schema(name = "类名称",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  fullName ="";

    @Schema(name = "类名称",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  name ="";

    @Schema(name = "备注",description = "")
    private  String  memo ="";

    @Schema(name = "类型",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  baseType ="";

    @Schema(name = "Json数据",description = "")
    private  String  jsonFields ="";

    @Schema(name = "创建日期",description = "")
    private  Date  crtDt ;

    @Schema(name = "更新日期",description = "")
    private  Date  edtDt ;

    @Column(isLogicDelete = true)
    @Schema(name = "删除标志",description = "")
    private  boolean  deleted ;

}
